var AddWorkLog = function() {
	this.form;
	this.roleTable;
	this.laydate;
	this.layedit;
};
AddWorkLog.prototype = {
	init : function(form, layer, laydate,layedit) {
		this.form = form;
		this.layer = layer;
		this.laydate = laydate;
		this.layedit = layedit;
		
		this.laydate.render({
		    elem: '#logdate',
		    type: 'datetime'
		  });
		this.layedit.build('logcontent'); //建立编辑器
	}
}